
const puppeteer_demo1 = require('puppeteer');

//const jsdom = require('jsdom');

puppeteer_demo1.launch({headless:false,defaultViewport:{width:1366,height:768}}).then((browser)=>{
    browser.newPage().then(page=>{
        page.goto('https://www.baidu.com')

//        page.goto('http://www.mfinante.ro/agentinume.html?pagina=domenii');
    })
    console.log("程序执行完毕。");
})